Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify spilling merge logic in GroupedHashAggregate #12517

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

eejbyfeldt
Copy link
Contributor

@eejbyfeldt eejbyfeldt commented Sep 18, 2024

Instead have extra branches and logic for spill merging we instead just
create a new GroupedHashAggregate stream for doing the merge.

Which issue does this PR close?

Related to #12335.

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

Instead have extra branches and logic for spill merging we instead just
create a new GroupedHashAggregate stream for doing the merge.
@github-actions github-actions bot added the physical-expr Physical Expressions label Sep 18, 2024
@alamb
Copy link
Contributor

alamb commented Sep 22, 2024

Thanks -- I am pretty stoked about this type of work @eejbyfeldt

I think in general the spilling logic in DataFusion is ok, but could be improved significantly. I am pretty excited to see you starting to make it better.

I think it could be easier to read as well as likely be made significantly faster

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
physical-expr Physical Expressions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants